xsm: add bodge when compiling with llvm coverage support
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 13 Feb 2018 16:55:43 +0000 (17:55 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 13 Feb 2018 16:55:43 +0000 (17:55 +0100)
commit1d3bae468aff999508a52774a4360f24ac150a84
tree351dcd039f20dfa614fa5af5a200643691ca422e
parent76639f7f29287cd7f8e96f2a6f3e227c8a8fd39f
xsm: add bodge when compiling with llvm coverage support

llvm coverage support seems to disable some of the optimizations
needed in order to compile xsm, and the end result is that references
to __xsm_action_mismatch_detected are left in the object files.

Since coverage support cannot be used in production, introduce
__xsm_action_mismatch_detected for llvm coverage builds.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
xen/include/xsm/dummy.h